package com.bwda.dsrs.filecenter.domain.vo.filedir;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @description: 文件虚拟目录
 * @author: yangjun
 * @create: 2019-04-28 11:15
 */
@Data
@ApiModel(description = "文件虚拟目录")
public class FileDirVo {

    @ApiModelProperty(value = "目录id", required = true)
    private Integer id;

    @ApiModelProperty(value = "目录名，文件名")
    private String dirName;

    @ApiModelProperty(value = "0文件1文件夹")
    private Integer dirType;


    @ApiModelProperty(value = "父ID，0为跟目录")
    private Integer parentId;


    @ApiModelProperty(value = "文件大小")
    private Integer fileSize;

    @ApiModelProperty(value = "文件类型，后缀，如WORD,PPT")
    private String fileSuffix;

    @ApiModelProperty(value = "为文件时，文件的扫描状态")
    private Integer scanState;

    @ApiModelProperty(value = "所有父ID，逗号隔开")
    private String parentIds;

    @ApiModelProperty(value = "排序号")
    private Integer seq;

    @ApiModelProperty(value = "用户编码")
    private String userCode;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",  timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "0未删除 1已删除")
    private Integer delFlag;

    @ApiModelProperty(value = "0不共享 1共享")
    private Integer shareFlag;

    @ApiModelProperty(value = "0不常用1常用")
    private Integer mostUseFlag;

    @ApiModelProperty(value = "敏感等级")
    private Integer secretLevel;
    @ApiModelProperty(value = "敏感等级名称")
    private String secretLevelName;

    @ApiModelProperty(value = "备注")
    private String remark;
}